home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1123 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: oxy.rust.net!usenet
  2. From: pgunn@mail.cbf.com (Paul Gunn)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Constructor Exceptions
  5. Date: Tue, 09 Jan 1996 13:26:09 GMT
  6. Organization: Rust Net - High Speed Internet in Detroit  810-642-2276
  7. Message-ID: <4ctqho$cl7@oxy.rust.net>
  8. References: <4bud9g$pv5@oxy.rust.net> <4cbhcl$kst@dawn.mmm.com> <4ce68n$8u4@sundog.tiac.net> <4ch1c3$bsm@oxy.rust.net> <4cqjps$337@dub-news-svc-1.compuserve.com>
  9. NNTP-Posting-Host: pgunn.cbf.com
  10. X-Newsreader: Forte Agent .99c/32.126
  11.  
  12. 100754.2730@compuserve.com (Martin Aupperle) wrote:
  13.  
  14.  
  15. >Visual C++ 2.1 does not implement exception handling as part of the
  16. >language. Instead, you use macros that translate into a simulation. If
  17. >I remember right, constructors are not the only area where that
  18. >mechanism does not work correctly. Stack unwinding and destroying
  19. >already created subobjects do not work either. Also, you have to
  20. >derive your exception classes from a certain base class.
  21.  
  22. That is true of the MFC exceptions in VC 1.x. However, 2.x does
  23. support ansi draft exceptions. The question is whether there are
  24. Microsoft - specific limitations built in.
  25.  
  26.  
  27.